package com.soda.bean;

import java.util.ArrayList;
import java.util.List;

public class Menu {

	private int menId;//子菜单id
	private String menName;//子菜单名
	private String menUrl;//链接
	private String menRemark;//备注
	private int menState;//状态 0：不显示 1：显示
	private int menDelete;//是否被删除 0：不显示 1：显示
	private Fmenu fmenu=new Fmenu();//子菜单-父菜单  多对一
	private List<Role> roles=new ArrayList<Role>();//角色菜单多对多
	private int fmenu_id;
	public int getFmenu_id() {
		return fmenu_id;
	}
	public void setFmenu_id(int fmenu_id) {
		this.fmenu_id = fmenu_id;
	}
	public Menu() {
		// TODO Auto-generated constructor stub
	}
	public Menu(int menId, String menName, String menUrl, String menRemark,
			int menState, int menDelete) {
		super();
		this.menId = menId;
		this.menName = menName;
		this.menUrl = menUrl;
		this.menRemark = menRemark;
		this.menState = menState;
		this.menDelete = menDelete;
	}
	public int getMenId() {
		return menId;
	}
	public void setMenId(int menId) {
		this.menId = menId;
	}
	public String getMenName() {
		return menName;
	}
	public void setMenName(String menName) {
		this.menName = menName;
	}
	public String getMenUrl() {
		return menUrl;
	}
	public void setMenUrl(String menUrl) {
		this.menUrl = menUrl;
	}
	public String getMenRemark() {
		return menRemark;
	}
	public void setMenRemark(String menRemark) {
		this.menRemark = menRemark;
	}
	public int getMenState() {
		return menState;
	}
	public void setMenState(int menState) {
		this.menState = menState;
	}
	public int getMenDelete() {
		return menDelete;
	}
	public void setMenDelete(int menDelete) {
		this.menDelete = menDelete;
	}
	public Fmenu getFmenu() {
		return fmenu;
	}
	public void setFmenu(Fmenu fmenu) {
		this.fmenu = fmenu;
	}
	public List<Role> getRoles() {
		return roles;
	}
	public void setRoles(List<Role> roles) {
		this.roles = roles;
	}
	
}
